SavandBros / tiwun-awesome

Tiwun Awesome Application - Tiwun wear a frontend!
1 stars 0 forks source link

What's up with new Item create with Users 404 ? #14

Closed Alir3z4 closed 8 years ago

Alir3z4 commented 8 years ago

Whenever I open /items/new/ I find a 404 in console and API server log:

Request URL:http://127.0.0.1:8000/api/users/
Request Method:GET
Status Code:404 NOT FOUND
Remote Address:127.0.0.1:8000

Request headers:

GET /api/users/ HTTP/1.1
Host: 127.0.0.1:8000
Connection: keep-alive
Accept: application/json, text/plain, */*
Origin: http://localhost:9001
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMTQzNDZhODAtZDA0MC0xMWUyLWEyZWMtMDBlMTc2YzUwMDAyIiwiZW1haWwiOiJhbGlyZXphLnNhdmFuZEBnbWFpbC5jb20iLCJleHAiOjE0Nzk1NTQ3MjF9.FR9UPX7tYpzXNGGdJdDWLZ-1NUPnPNc7Ij9gPjtOwbw
DNT: 1
Referer: http://localhost:9001/items/new/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,fa;q=0.6
Alir3z4 commented 8 years ago

Pretty sure it's somewhere in AutheticationService

Alir3z4 commented 8 years ago

Really, fixing the duplicate by me has resolved the issue as well ?