mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-08-23 20:18:14 +02:00
internal/api/make.go: remove "contract" api in favor for the new "atomic" name.
This commit is contained in:
parent
0f5fdedd91
commit
9109bef803
2 changed files with 4 additions and 24 deletions
|
|
@ -6,11 +6,10 @@ import (
|
|||
|
||||
func Make(name string, args ApiArguments) (ApiInterface, error) {
|
||||
factories := map[string]Factory{
|
||||
"v1": EosioV1Factory,
|
||||
"v2": EosioV2Factory,
|
||||
"contract": AtomicAssetFactory,
|
||||
"atomic": AtomicAssetFactory,
|
||||
"debug": DebugApiFactory,
|
||||
"v1": EosioV1Factory,
|
||||
"v2": EosioV2Factory,
|
||||
"atomic": AtomicAssetFactory,
|
||||
"debug": DebugApiFactory,
|
||||
}
|
||||
|
||||
if factory, ok := factories[name]; ok {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue