(id: string)
| 188 | } |
| 189 | |
| 190 | getCreationById(id: string): Promise<any> { |
| 191 | return new Promise(async (resolve, reject) => { |
| 192 | try { |
| 193 | const { data } = await this.base.get(`/creations/${id}`) |
| 194 | resolve(data) |
| 195 | } catch (err) { |
| 196 | reject(err) |
| 197 | } |
| 198 | }) |
| 199 | } |
| 200 | updateCreation(id: string, props: Partial<Template>): Promise<Template> { |
| 201 | return new Promise((resolve, reject) => { |
| 202 | this.base |
nothing calls this directly
no outgoing calls
no test coverage detected