mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 07:15:25 +00:00
fix readm
This commit is contained in:
@@ -3,7 +3,7 @@ Purchase carbon offsets
|
|||||||
# Carbon Service
|
# Carbon Service
|
||||||
|
|
||||||
Purchase carbon offsets to help climate change and achieve carbon neutrality.
|
Purchase carbon offsets to help climate change and achieve carbon neutrality.
|
||||||
Offset purchases are currently limited to 1kg (or 0.001 tonnes) per request.
|
Offset purchases are currently limited to 1 tonne per request.
|
||||||
Make multiple requests to purchase the required amount.
|
Make multiple requests to purchase the required amount.
|
||||||
|
|
||||||
Powered by [Ecologi](https://ecologi.com/)
|
Powered by [Ecologi](https://ecologi.com/)
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ func (c *Carbon) Offset(ctx context.Context, req *pb.OffsetRequest, rsp *pb.Offs
|
|||||||
|
|
||||||
// currently do not support options
|
// currently do not support options
|
||||||
r := &domain.OffsetRequest{
|
r := &domain.OffsetRequest{
|
||||||
Number: 1,
|
Number: 1000,
|
||||||
Units: "KG",
|
Units: "KG",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ message Project {
|
|||||||
double tonnes = 3;
|
double tonnes = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Purchase 1kg (0.001 tonnes) of carbon offsets in a single request
|
// Purchase 1 tonne of carbon offsets in a single request
|
||||||
message OffsetRequest {}
|
message OffsetRequest {}
|
||||||
|
|
||||||
message OffsetResponse {
|
message OffsetResponse {
|
||||||
|
|||||||
Reference in New Issue
Block a user