1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-13 08:19:17 +00:00

fix: sets not working when fetching with name

This commit is contained in:
2024-09-26 00:31:10 +02:00
parent 0a62d37f4e
commit 6e2c3f467b
5 changed files with 44 additions and 8 deletions

View File

@ -0,0 +1,16 @@
meta {
name: Get a card by set name
type: http
seq: 6
}
get {
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians/10
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq ex14-10
}

View File

@ -0,0 +1,16 @@
meta {
name: Get a set by name
type: http
seq: 5
}
get {
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq ex14
}