แก้ path ลบตำแหน่ง
This commit is contained in:
parent
afc97292d3
commit
bca7a94f26
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ export class PositionController extends Controller {
|
||||||
*
|
*
|
||||||
* @param {string} id Id ตำแหน่ง
|
* @param {string} id Id ตำแหน่ง
|
||||||
*/
|
*/
|
||||||
@Delete("{id}")
|
@Delete("position/{id}")
|
||||||
async delete(@Path() id: string) {
|
async delete(@Path() id: string) {
|
||||||
const delPosDict = await this.posDictRepository.findOne({ where: { id } });
|
const delPosDict = await this.posDictRepository.findOne({ where: { id } });
|
||||||
if (!delPosDict) {
|
if (!delPosDict) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue