diff --git a/platformapi/fnpsapi/store.go b/platformapi/fnpsapi/store.go index 1afb7430..dd355cc3 100644 --- a/platformapi/fnpsapi/store.go +++ b/platformapi/fnpsapi/store.go @@ -26,6 +26,7 @@ type CreateStoreParam struct { } func (a *API) CreateStore(createStoreParam *CreateStoreParam) (err error) { + createStoreParam.ServiceCode = "1" params := utils.Struct2FlatMap(createStoreParam) _, err = a.AccessAPI("v2/chain_store", URL, params, true) return err